package org.dromara.work.mapper;



import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.work.domain.DmBase;
import org.dromara.work.domain.bo.DmBaseQueryBo;
import org.dromara.work.domain.bo.DmBaseSaveBo;
import org.dromara.work.domain.vo.DmBaseBriefVo;
import org.dromara.work.domain.vo.DmBaseVo;
import org.dromara.work.domain.vo.DmGeoVo;
import org.dromara.work.domain.vo.DmStatVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DmBaseMapper extends BaseMapperPlus<DmBase, DmBaseVo> {



    Page<DmBaseBriefVo> selectDmBasePage(@Param("page") Page<DmBase> page, @Param("request") DmBaseQueryBo bo);

    List<DmStatVo> queryDmlbNumByXzqh(@Param("xzq") String xzq);

    DmBaseVo getInfo(@Param("id") String code);

    DmGeoVo queryGeoFile(@Param("code") String code);

    List<DmStatVo> queryQhdmNumByXzqh(@Param("xzq") String xzq);

    String generatorCode(@Param("request") DmBaseQueryBo bo);

}
